#pragma once
#include <ntddk.h>

inline UINT32 FetchDataDWORD(void* ptr, int offsetInByte)
{
	return *(UINT32*)((char*)(ptr) + offsetInByte);
}
inline UINT32& FetchReferDWORD(void* ptr, int offsetInByte)
{
	return *(UINT32*)((char*)(ptr) + offsetInByte);
}

inline void* OffsetOf(void* ptr, int offsetInByte)
{
	return (char*)(ptr) + offsetInByte;
}